package com.ha.service;

import com.ha.dto.BannerDTO;
import com.ha.dto.BannerPageDTO;
import com.ha.entity.Banner;
import com.ha.result.PageResult;
import com.ha.vo.BannerVO;

import java.util.List;

/**
 * ClassName: BannerService
 * Package: com.ha.service
 * Description:
 *
 * @Author 那啥啥
 * @Create 2024/5/2  19:23
 * @Version 1.0
 */
public interface BannerService {
    void addBanner(Banner banner);

    PageResult pageQuery(BannerPageDTO bannerDTO);

    void delete(Long id,Integer deleted);

    void update(BannerDTO bannerDTO);

    Banner getById(Long id);

    List<BannerVO> getBanner();
}
